﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace mes_tublay
{
    public partial class frmImgViewer : Form
    {
        public frmImgViewer()
        {
            InitializeComponent();
            DoGUIEvents();
        }
        void DoGUIEvents()
        {
            this.Resize += new EventHandler(delegate
            {
                img.Width = this.Bounds.Width;
                img.Height = this.Bounds.Height;
            });
        }
    }
}
